package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.Provinces;
import com.ruoyi.system.domain.UserBasicSetting;

import java.util.List;

/**
 * 用户基础设置Mapper接口
 * 
 * @author wp
 * @date 2023-08-10
 */
public interface UserBasicSettingMapper extends BaseMapper<UserBasicSetting> {

    public List<UserBasicSetting> list(UserBasicSetting userBasicSetting);

    List<Provinces> selectParentCode(Integer cityCode);

    int removeByUserId(Long userId);

    UserBasicSetting getByUserId(Long userId);
}
